@import url(./tool.css);

::-webkit-scrollbar {
  display: none;
}

.button-element {
  width: 180px;
  height: 180px;
  line-height: 180px;
  text-align: center;
  border: var(--main_line);
  margin-top: 16px;
}

.header-tools,
.footer-other {
  height: var(--main_size);
}

.header-tools {
  border-bottom: var(--main_line);
}

.footer-other {
  border-top: var(--main_line);
}

.main-editor {
  height: calc(100vh - var(--main_size) * 2);
}

.element-box,
.attribute-box {
  width: 400px;
  padding-bottom: 20px;
}

.preview-box {
  border-left: var(--main_line);
  border-right: var(--main_line);
}

.preview-default {
  min-height: 40px;
  line-height: 40px;
  color: white;
  text-align: center;
  background-color: var(--lower_color);
  cursor: pointer;
}

.preview {
  width: 100%;
  max-width: 375px;
  height: 100%;
  max-height: 667px;
  border: var(--main_line);
}

.attribute-editor-box {
  display: flex;
  align-items: center;
  width: 360px;
  margin: 20px auto 0;
}

.attribute-editor-title {
  width: 120px;
}

.attribute-editor-input {
  flex: 1;
}

.attribute-editor-textarea {
  flex: 1;
  height: 200px;
}

.attribute-delete-button {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  border: var(--main_line);
  margin-top: 16px;
}

.preview-highlight {
  box-shadow: 0 0 1px 1px red inset;
}